package behavior.strategy;

public abstract class Statement {

    private int type;
    protected Statement(int type){
        this.type = type;
    }

    public final String buildStatement(String[] values){
        System.out.println("当前语句类型是："+type);
        return this.build(values);
    }

    protected abstract String build(String[] values);

}
